// share/store/reducers/user.reducer.js
import { SAVE_USER } from "../actions/user.action";

export default (state = [], action) => {
    switch (action.type) {
        case SAVE_USER:
            return action.payload.data
        default:
            return state
    }
}